﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Jzy.Workflow.Flow
{
    public partial class ControlRightInfo
    {
        public const string TABLE_NAME = "FlowNodeControlRight";
        public const string INSERT_SQL = "insert into FlowControlRight ( [ID], [FlowID], [NodeID], [ControlName], [UserID], [RightID]) values ( @ID, @FlowID, @NodeID, @ControlName, @UserID, @RightID)";
        public const string UPDATE_SQL = "update FlowControlRight set  [ID] = @ID, [FlowID] = @FlowID, [NodeID] = @NodeID, [ControlName] = @ControlName, [UserID] = @UserID, [RightID] = @RightID where ID = @ID";
        public ControlRightInfo() { }
        public Int32 ID
        {
            get;
            set;
        }
        public Int32 FlowID
        {
            get;
            set;
        }
        public Int32 NodeID
        {
            get;
            set;
        }
        public String ControlName
        {
            get;
            set;
        }
        public Int32 UserID
        {
            get;
            set;
        }
        public Int32 RightID
        {
            get;
            set;
        }
    }
}
